package com.lc.mapper;

import com.lc.entity.Food;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * Author:LC
 * Version:jdk-8u301
 * Date: 2022/7/4 9:59
 */
@Mapper
public interface FoodMapper {

    public Food selectFoodById(@Param("id") Integer id);

    public int updateFoodData(Food food);

    public Food selectFoodByName(@Param("name") String name);
}
